<div id="basicListing">
  <h1><span id="printThis"><%= link_to_function(image_tag("print.png",:border => 0), "javascript:print()") %></span> Listing tasks</h1>
  <%= will_paginate @tasks %>
  <%= render :partial => 'taskList', :locals => { :tasks => @tasks} %>
  <br />
  <%= link_to 'New task', new_task_path %>
</div>